package com.example.demo.core;

import cn.hutool.core.util.IdUtil;
import lombok.Getter;
import lombok.ToString;

@Getter
@ToString
public class RequestId {

    private final String requestId;

    private RequestId() {
        requestId = IdUtil.simpleUUID();
    }

    public static RequestId get() {
        return new RequestId();
    }
}
